﻿using Mysoft.Common.Attributes.AutoMapping;
using Mysoft.Dto.Basic;
using Mysoft.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mysoft.Dto
{
    [CreateMapper(SourceType = new[] { typeof(Test) })]
    public class TestDto : DtoBase
    {
        /// <summary>
        /// 名称
        /// </summary>
        public virtual string Name { get; set; }

        /// <summary>
        /// 详情
        /// </summary>
        public virtual string Description { get; set; }
    }

    /// <summary>
    /// 查询条件
    /// </summary>
    public class TestCondition: PageCondition
    { 
         public string? search { get; set; }
    }
}
